package com.yuncheng.oaApi.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.OaBgypsqglVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OaBgypsqglFlowMapper {
    Page<OaBgypsqglVo> flowJobPage(Page<OaBgypsqglVo> page,
                                   @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                   @Param("user") CurrentUserVo user,
                                   @Param("spcyFlowVo") OaBgypsqglVo oaBgypsqglVo);

    Page<OaBgypsqglVo> flowJkPage(Page<OaBgypsqglVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") OaBgypsqglVo oaBgypsqglVo);


    List<OaBgypsqglVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") OaBgypsqglVo oaBgypsqglVo);

    Page<OaBgypsqglVo> selectmyyb(Page<OaBgypsqglVo> page,
                                  @Param("spcyFlowVo") OaBgypsqglVo oaBgypsqglVo, String fdbrid);

    Page<OaBgypsqglVo> myYbFlowPage(Page<OaBgypsqglVo> page,
                                    @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                    @Param("user") CurrentUserVo user,
                                    @Param("spcyFlowVo") OaBgypsqglVo oaBgypsqglVo);

}
